unity how to reorder a list

52

unity how to reorder a list -

texts.Sort((a, b) => a.transform.GetSiblingIndex().CompareTo(b.transform.GetSiblingIndex()));

Comments

Submit
0 Comments